<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        .input{
            width: 500px;
            margin: 50px auto;
            border: 1px solid #ccc;
            display: flex;
        }
        input{
            border: none;
            outline: medium;
            width: 100%;
            padding: 10px;
            height: 34px;
        }
        .search-btn{
            padding: 9px;
        }
        .search-icon{
            background: url('search.png') no-repeat;
            background-position: -40px -56px;
            display: block;
            padding: 8px;

        }
    </style>
</head>
<body>
    <div class="input">
        <input type="text">
        <div class="search-btn">
            <i class="search-icon"></i>
        </div>
    </div>
</body>
</html>
